<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import Res_partnerContactsCardViewBase from './res-partner-contacts-card-view-base.vue';

import view_searchform from '@widgets/res-partner/default-searchform/default-searchform.vue';
import view_dataview from '@widgets/res-partner/contacts-card-dataview/contacts-card-dataview.vue';

/**
 * 联系人卡片视图
 *
 * @export
 * @class Res_partnerContactsCardView
 * @extends {Res_partnerContactsCardViewBase}
 */
@Component({
    components: {
        view_searchform, 
        view_dataview, 
    },
    beforeRouteEnter: (to: any, from: any, next: any) => {
        next((vm: any) => {
            vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
        });
    },
})
export default class Res_partnerContactsCardView extends Res_partnerContactsCardViewBase { }
</script>